package com.pactera.four.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import util.DateStyle;
import util.DateUtil;

import java.util.Date;

/**
 * @Author zhangrui
 * @Date 2019/1/9 16:13
 */
@RestController
public class IndexController {

    @RequestMapping("/")
    public String index() {
        return DateUtil.DateToString(new Date(), DateStyle.YYYY_MM_DD_HH_MM_SS) + "--four";
    }
}
